import { get, postForm } from '../request'

export function login(data) {
  return get('/platform-ws/tool-wbs/oftenTool/listToolNomal?page=1&limit=8')
}
// export function login(data) {
//   return postForm('/gas/login', data)
// }

export function userNameExist(data) {
  return postForm('/gas/userNameExist', data)
}

export function userPhoneExist(data) {
  return postForm('/gas/userPhoneExist', data)
}

export function captchaCode(params) {
  return get('/gas/captchaCode', params)
}

export function registerByPhone(data) {
  return postForm('/gas/registerByPhone', data)
}